<{include file="_head.html"}>
<link type="text/css" rel="stylesheet" href="css/default.css" />
<script type="text/javascript">
$(function(){
    //删除收藏
    $(".j_mainyny").click(function(){
        var obj=$(this);
        var cid=obj.attr("cid");
        var url='my_collect_info.php?action=del';
        $.post(
            url,
            {cid:cid},
            function(data){
              if(data==1){
                obj.parent().remove();
              }
            }
            )
    })
})
</script>
<{include file="head.html"}>

<!-- 主体内容-开始 -->
<div class="j_main">
	<!-- <div class="j_mainz">
    	<a href="#" class="j_mainz1">我的帐号</a>
    	<a href="#" class="j_mainz1">我的消息</a>
    	<a href="my_collect_info.php" class="j_mainz1 j_mainz1_hov">我的收藏</a>
    	<a href="#" class="j_mainz1">我关注的用户</a>
    </div> -->
     <{include file="user_left.html"}>
	<div class="j_mainy">
    	<div class="j_mainyt">
        	<a href="my_collect_info.php" class="j_mainyt1 j_mainyt1_hov">收藏的资讯</a>
        	<a href="my_collect_service.php" class="j_mainyt1">收藏的服务</a>
        </div>
        <div class="j_mainyn">
            <{foreach item=res from=$collects}>
        	<div class="j_mainynr">
            	<span class="j_mainynrz"><a href="info_detail.php?id=<{$res.type_id}>"><{$res.title}></a></span>
                <span class="j_mainynrc"><{$res.createTime}></span>
                <a href="javascript:;" cid="<{$res.id}>" class="j_mainyny">删除</a>
            </div>
            <{/foreach}>
        	
            
            <div class="j_fy">
            	
                <ul class="ul_page">
                <{$page}>
                </ul>
            </div>
            
        </div>
    </div>

</div>
<!-- 主体内容-结束 -->


<{include file="footer.html"}>
